import unittest
from human import method
 import Player
from equipment import Equipment
class ttt(unittest.TestCase):
    def test_iii(self):
        ppl = Player(hp=10,mhp=10)
        sword = Equipment(atk=10)
        ppl.equip(sword)
        self.assertEqual(ppl.myEquip,sword)
        self.assertEqual(sword.belong,ppl)
    if __name__ == '__main__':
        unittest.main()
        
